package com.wanjia.bpsapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanjia.bpsapi.pojo.dto.BaseClientOffer;
import com.wanjia.bpsapi.pojo.dto.GetOffers;
import com.wanjia.bpsapi.pojo.entity.BaseClient;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 报价信息表 Mapper 接口
 * </p>
 *
 * @author wyn
 * @since 2023-02-13
 */
@Repository
public interface BaseClientMapper extends BaseMapper<BaseClient> {

    List<BaseClientOffer> getOffers(@Param("go") GetOffers go);


    BaseClient selectLatestByVegeIdAndUid(@Param("vegeId") Long vegeId, @Param("uid") Long uid);
}
